package com.bailan.foreat.service;

import com.bailan.foreat.entity.Store;
import com.bailan.foreat.vo.EsStore;
import com.bailan.foreat.vo.StoreVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ste
 * @since 2023-02-21 07:50:43
 */
public interface StoreService extends IService<Store> {

    Page<EsStore> searchByES(Integer currentPage, Integer pageSize, String keyName,Integer keyType);

    Page selectAll(Integer currentPage, Integer pageSize);

    Page selectByTypeId(Integer currentPage, Integer pageSize, Integer keyType);

    StoreVo queryDetails(Integer storeId);
}
